<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class RenameTableTestbToTestc extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('testb', function (Blueprint $table) {
            //
        });
        Schema::rename('testb', 'testc');
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('testb', function (Blueprint $table) {
            //
        });
        Schema::rename('testc', 'testb');
    }
}
